//
//  HYBaseFolderViewController.h
//  XPlayer
//
//  Created by liguoqing on 2023/9/8.
//

#import "HYCategoryViewController.h"
#import "HYHomeFileItemViewModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface HYBaseFolderViewController : HYCategoryViewController

@property (nonatomic, strong) JXCategoryTitleView *myCategoryView;

/// 通过文件夹初始化
- (instancetype)initWithFolderViewModel:(HYHomeFileItemViewModel *)folderViewModel;
/// 导入文件归属位置
- (instancetype)initWithImportFileFolderIdentification:(NSString *)folderIdentification
                                             isPrivate:(BOOL)isPrivate;
/// 文件夹路径
- (instancetype)initWithParentPath:(NSString *)parentPath
                 currentfolderPath:(NSString *)currentfolderPath
                 currentfolderName:(NSString *)currentfolderName;

@property (nonatomic, strong) HYHomeFileItemViewModel *folderViewModel;

@property (nonatomic, strong) NSString *folderIdentification;

@property (nonatomic, strong) NSString *parentPath;

@property (nonatomic, strong) NSString *folderPath;

@property (nonatomic, strong) NSString *folderName;

@property (nonatomic, assign) BOOL isPrivate;

@property (nonatomic, copy) dispatch_block_t refreshBlock;

- (void)fileChangeRefreshBlock:(dispatch_block_t)refreshBlock;

@end

NS_ASSUME_NONNULL_END
